package com.yb.guigu.pick.auth.service;

import com.yb.guigu.pick.auth.bean.vo.request.SysRolePermissionAssignVo;
import com.yb.guigu.pick.auth.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yb.guigu.pick.core.bean.GuiguResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 姚兵
 * @since 2023-05-30
 */
public interface ISysRoleService extends IService<SysRole> {

    GuiguResult assignPermission(Integer roleId, SysRolePermissionAssignVo rolePermissionAssignVo);

    GuiguResult roleRoute(Integer roleId);

    GuiguResult rolePermission(Integer roleId);

    GuiguResult roleRoutes(Integer roleId);

    GuiguResult assignRoute(Integer roleId, SysRolePermissionAssignVo rolePermissionAssignVo);

    GuiguResult unAssignPermission(Integer roleId, SysRolePermissionAssignVo rolePermissionAssignVo);

    GuiguResult unAssignRoute(Integer roleId, SysRolePermissionAssignVo rolePermissionAssignVo);
}
